package com.ocom.devicehttp.feign.machine;

import com.ocom.common.constant.UnifiendPayUrl;
import com.ocom.common.entity.card.EntityXfRecord;
import com.ocom.common.request.xfrecde.GetUserOrdered;
import com.ocom.common.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "xfrecode")
public interface XfRecodeClientService {

	@PostMapping(UnifiendPayUrl.URL_updateXfFace)
	public Result updateXFace(@RequestBody EntityXfRecord entityXfRecord);

	//11.4.4 获取用户已点餐餐段
	@PostMapping(UnifiendPayUrl.URL_getUserOrdered)
	public Result getUserOrdered(@RequestBody GetUserOrdered request);
}
